﻿using ShanNiang.Service.PackingModes.Responses;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShanNiang.Service.PackingModels.Responses
{
    public class BoxCodeResponse
    {
        public BoxCodeResponse()
        {
            BottleCodes = new List<string>();
        }
        /// <summary>
        /// 箱码
        /// </summary>
        public string? Code { get; set; }
        /// <summary>
        /// 商品对象
        /// </summary>
        public ItemResponse? Item { get; set; }
        /// <summary>
        /// 装箱时间
        /// </summary>
        public DateTimeOffset? PackingTime { get; set; }
        /// <summary>
        /// 装箱人
        /// </summary>
        public string? PackingUser { get; set; }
        /// <summary>
        /// 瓶数量
        /// </summary>
        public int BottleCount { get; set; }
        /// <summary>
        /// 企业名称
        /// </summary>
        public string? EnterpriseName { get; set; }
        /// <summary>
        /// 来自雪克星球的批次id
        /// 如果为null 表示未同步
        /// </summary>
        public Guid? Xk0BachId { get; set; }
        /// <summary>
        /// 生成批次Id
        /// </summary>
        public Guid? BoxCodeBatchId { get; set; }
        /// <summary>
        /// 装箱瓶
        /// </summary>
        public List<string> BottleCodes { get; set; }
        /// <summary>
        /// 商品Id
        /// </summary>
        public Guid? ItemId { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTimeOffset CreatedTime { get; set; }
        /// <summary>
        /// 创建
        /// </summary>
        public Guid Creator { get; set; }
        /// <summary>
        /// 最后修改时间
        /// </summary>
        public DateTimeOffset? LastModifiedTime { get; set; }
        /// <summary>
        /// 最后修改人
        /// </summary>
        public Guid? LastModifier { get; set; }
        /// <summary>
        /// 企业id
        /// </summary>
        public Guid? EnterpriseId { get; set; }
    }
}
